package cn.smile.bean.form.basic.dic;

import cn.smile.commons.constant.NumberConstant;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class DicAddForm {
    /**
     * 父级ID
     */
    private String parentId = NumberConstant.MINUS_ONE_STRING;

    /**
     * 字典名称
     */
    @NotBlank(message = "字典名不能未空")
    private String dicName;

    /**
     * 字典顺序
     */
    private Integer dicSort;

    /**
     * 是否显示
     */
    private Boolean isShow = Boolean.TRUE;

    /**
     * 预定义(true-是, false-否)
     */
    private Boolean predefined = Boolean.FALSE;
}
